#pragma once
#include <QThread>
#include "vision.h"

#define LINE_BUCHANG 3.0
class VisionThread:public QThread
{
	Q_OBJECT
public:
    VisionThread();
    ~VisionThread();
	void run();
	GetLineIFM  *getline;
	volatile bool isOpen;
	float data[4];
    float CompareData[4];
    volatile bool isStop;
public slots:
    void Camera_Init(bool isOpenCamera,int _ChooseCamera);
protected:
	
signals:
	void ConveyData(float dx,float dy,float angle);
};
